package ru.rchervot.sanasar.client.rpc;

import ru.rchervot.sanasar.client.model.Query;

import com.google.gwt.user.client.rpc.IsSerializable;

public class GetQueryResponse extends Response implements IsSerializable {
	private Query query;
	
	public GetQueryResponse() {}
	
	public GetQueryResponse(Query query) {
		this.query = query;
	}
	
	public Query getQuery() {
//		return new K(details); // TODO understand why Ryan create new object here
		return query;
	}

}
